﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="HotelDiagram.ascx.cs" Inherits="UserControl_HotelDiagram" %>
<%@ Register Src="~/UserControl/HotelFloor.ascx" TagName="Floor" TagPrefix="uc" %>
<%@ Register Src="~/UserControl/HotelRoom.ascx" TagName="Room" TagPrefix="uc" %>
<gr:ContainerButton ID="uxRoomStatus" runat="server">
       
    <span class="room_icon_desc room_status_empty">
        <gr:Literal runat="server" ID="Literal4" Text="Phòng trống: " />
        <gr:Literal runat="server" ID="uxCountEmpty" />
    </span><span class="room_icon_desc room_status_reserved">
        <gr:Literal runat="server" ID="Literal5" Text="Phòng đã đặt: " />
        <gr:Literal runat="server" ID="uxCountBooked" />
    </span><span class="room_icon_desc room_status_checked_in">
        <gr:Literal runat="server" ID="Literal6" Text="Phòng đã thuê: " />
        <gr:Literal runat="server" ID="uxCountCheckedIn" />
    </span><span class="room_icon_desc room_status_dirty">
        <gr:Literal runat="server" ID="Literal7" Text="Phòng chưa dọn: " />
        <gr:Literal runat="server" ID="uxCountDirty" />
    </span><span class="room_icon_desc room_status_maintenance">
        <gr:Literal runat="server" ID="Literal3" Text="Phòng đang sửa: " />
        <gr:Literal runat="server" ID="uxCountMaintance" />
    </span>
    <span style="clear:both;"></span>
</gr:ContainerButton>
<gr:Container ID="uxContainerHotelDia" runat="server" HeaderText="Sơ đồ khách sạn">
    <gr:GuruCodeBlock ID="GuruCodeBlock1" runat="server">
        <script type="text/javascript" src="<%= ResolveUrl("~/")%>Assets/Js/Hotel.js"></script>
    </gr:GuruCodeBlock>
    
    <div class="hotelDiagram">   
      <gr:Repeater ID="uxFloorList" runat="server" OnItemDataBound="uxFloorList_ItemDataBound">
            <ItemTemplate>
                <div class="floorWapper">
                    <uc:Floor ID="uxFloor" runat="server" />
                </div>
            </ItemTemplate>
            <AlternatingItemTemplate>
                <div class="floorWapperAlt">
                    <uc:Floor ID="uxFloor" runat="server" />
                </div>
            </AlternatingItemTemplate>
        </gr:Repeater>
    </div>
</gr:Container>


